package yl.hs.bmipfull.pojo.salemanage;

import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

/**
 * 作用:  销售合同产品信息实体类<br/>
 * 创建时间: 2021年05月19日 15时41分18秒 <br/>
 *
 * @author 谢东
 */
@DBTable(disName = "销售合同产品信息", mapCode = "sale_contract_products")
public class SaleContractProductsEntity extends BaseEntity {

    /**
     * 主键
     */
    @Nullable
    private Long id;
    /**
     * 编号
     */
    @DBField(disName = "销售合同产品信息编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "XSMX")
    private String sn;
    /**
     * 产品名称
     */
    private String productName;
    /**
     * 产品编号
     */
    private String productSN;
    /**
     * 产品类别
     */
    private String productCate;
    /**
     * 产品规格
     */
    private String productSpec;
    /**
     * 容重
     */
    private float density;
    /**
     * 备注
     */
    private String remark;
    /**
     * 基本单价
     */
    private float price;
    /**
     * 状态
     */
    private Short state;
    /**
     * 合同编号
     */
    private String contractSN;

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSn() {
        return this.sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getProductName() {
        return this.productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductSN() {
        return this.productSN;
    }

    public void setProductSN(String productSN) {
        this.productSN = productSN;
    }

    public String getProductCate() {
        return this.productCate;
    }

    public void setProductCate(String productCate) {
        this.productCate = productCate;
    }

    public String getProductSpec() {
        return this.productSpec;
    }

    public void setProductSpec(String productSpec) {
        this.productSpec = productSpec;
    }

    public float getDensity() {
        return this.density;
    }

    public void setDensity(float density) {
        this.density = density;
    }

    public String getRemark() {
        return this.remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public float getPrice() {
        return this.price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public Short getState() {
        return this.state;
    }

    public void setState(Short state) {
        this.state = state;
    }

    public String getContractSN() {
        return this.contractSN;
    }

    public void setContractSN(String contractSN) {
        this.contractSN = contractSN;
    }


}